<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>stu add</title>
</head>
<body>

<form  method="post" th:action="@{/submit_teacher_add}" >
    用户名：<input type="text" name="teacherAccount"><br>
    姓名：<input type="text" name="teacherName"><br>

    密码： <input type="password" name="teacherPassword"><br>
    状态：<select  name="teacherStatus">
    <option  value="1">启用</option>
    <option  value="0">禁用</option>
</select><br>
    <label style="color: red" th:text="${teacherMsg}" th:if="${not #strings.isEmpty(teacherMsg)}"></label>
    <input type="submit" value="添加">
</form>

</body>
</html>